<template>
  <order-list   :status="2"  :onOrderClick="onOrderClick" >

  </order-list>

</template>

<script>
import OrderList from '../../components/OrderList'
import PaymentFooter from '../../components/PaymentFooter'

export default {
  name: 'Paid',
  components: {PaymentFooter, OrderList},
  methods: {
    onOrderClick (item) {
      console.log(item)
      this.$router.push({name: 'paid', params: {orderId: item.id}})
    }
  }
}
</script>

<style scoped>

</style>
